# 查
import  testdb2

def Select(db, cursor):
    sql = "SELECT * FROM UserDetail"
    cursor.execute(sql)
    # 获取所有记录列表
    results = cursor.fetchall()
    return results